package com.spzx.product.domain.dto;

import com.spzx.product.api.domain.ProductSku;
import com.spzx.product.api.domain.Product;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "新增商品数据模型")
public class ProductDTO extends Product {

    @Schema(description = "spu详情图列表")
    private List<String> detailsImageUrlList;

    @Schema(description = "spu下的sku列表")
    private List<ProductSku> productSkuList;

    @Schema(description = "spu的详情图列表字符串")
    private String imagUrls;
    private String brandName;
    private String category1Name;
    private String category2Name;
    private String category3Name;
}
